<ul class="nav nav-pills">
    <li role="presentation" <?php if($act=='q'):?>class="active"<?php endif;?>><a href="?act=q">题库列表</a></li>
    <li role="presentation" <?php if($act=='aq'):?>class="active"<?php endif;?>><a href="?act=aq">添加</a></li>
</ul>